<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/8/6
  Time: 11:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>我的在售好物</title>
    <style>
        table{
            width: 1000px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="1">
    <tr>
        <td>编号</td>
        <td>名称</td>
        <td>价格</td>
        <td>上架时间</td>
        <td>操作</td>
    </tr>
    <c:forEach var="goods" items="${someGoodsList}">
        <tr>
            <td>${goods.gid}</td>
            <td>${goods.gname}</td>
            <td>${goods.price}</td>
            <td>${goods.registerdate}</td>
            <td><a href="Goods?opr=getOne&gid=${goods.gid}">查看物品详情</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
